//
//  HEShopCarModel.h
//  HealthFamily
//
//  Created by 吴欧 on 2020/10/27.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class HEShopCarModel;

@interface HEShopCarHeadModel : NSObject

/** 店铺名称*/
@property (nonatomic,copy) NSString *storeName;

/** 店铺id*/
@property (nonatomic, assign) NSInteger storeId;

/** 每个区的价格总和*/
@property (nonatomic,assign) CGFloat sectionTotalPrice;

/** 区头是否选中*/
@property (nonatomic,assign) BOOL isChoose;

/** 所选商品*/
@property (nonatomic,strong) NSMutableArray <HEShopCarModel *>*goodsList;

@end

@interface HEShopCarModel : NSObject

@property (nonatomic, weak) HEShopCarHeadModel *headModel; //

@property (nonatomic, assign) NSInteger id; //

@property (nonatomic, assign) NSInteger productId;

@property (nonatomic,copy) NSString *storeName;

@property (nonatomic, assign) NSInteger storeId;

@property (nonatomic, assign) CGFloat price;

@property (nonatomic, assign) NSInteger quantity; // 购买数量

@property (nonatomic,copy) NSString *productName;

@property (nonatomic, copy) NSString *productAttr;

@property (nonatomic, copy) NSString *productPic;


@property (nonatomic, assign) BOOL isChoose;

@end

NS_ASSUME_NONNULL_END
